{include file="common/pc/header" title="编辑自定义设置" /}

<style>
    body {
        padding: 10px;
    }

    .layui-textarea {
        height: 300px;
    }
</style>

<form class="layui-form" action="" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">模块</label>
        <div class="layui-input-block">
            <input type="text" name="module" required lay-verify="required" placeholder="请输入模块" class="layui-input"
                   value="{$record.module}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">控制器</label>
        <div class="layui-input-block">
            <input type="text" name="controller" required lay-verify="required" placeholder="请输入控制器"
                   class="layui-input" value="{$record.controller}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">页面</label>
        <div class="layui-input-block">
            <input type="text" name="action" required lay-verify="required" placeholder="请输入页面" class="layui-input"
                   value="{$record.action}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">语言环境</label>
        <div class="layui-input-block">
            <input type="text" name="langset" required lay-verify="required" placeholder="请输入语言环境"
                   class="layui-input" value="{$record.langset}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">代码名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" required lay-verify="required" placeholder="请输入代码名称"
                   class="layui-input" value="{$record.name}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">内容</label>
        <div class="layui-input-block">
            <textarea name="content" placeholder="请输入内容" class="layui-textarea">{$record.content}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea name="desc" placeholder="请输入备注" class="layui-textarea">{$record.desc}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit>更新</button>
        </div>
    </div>
</form>

<script>
    layui.use('form', function () {
        var form = layui.form;
    });
</script>

{include file="common/pc/footer"/}